package com.market.web.controller;

import org.primefaces.model.StreamedContent;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import com.market.web.model.FlyerModel;


@Component("flyerController")
@Scope("session")
public class FlyerController {
	
	@Autowired
	private FlyerModel model;
	public StreamedContent getFlyerPdf() {		
		return this.model.getFlyerPdf();
	}
}
